﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Simpla Admin</title>
    <!-- Reset Stylesheet -->
    <link rel="stylesheet" href="/areas/admin/css/reset.css" type="text/css" media="screen">
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="/areas/admin/css/style.css" type="text/css" media="screen">
    <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
    <link rel="stylesheet" href="/areas/admin/css/invalid.css" type="text/css" media="screen">
    <!-- Internet Explorer Fixes Stylesheet -->
    <!--[if lte IE 7]>
			<link rel="stylesheet" href="/areas/admin/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
    <!--                       Javascripts                       -->
    <!-- jQuery -->
    <script type="text/javascript" src="/areas/admin/js/jquery-1.3.2.min.js"></script>
    <!-- jQuery Configuration -->
    <script type="text/javascript" src="/areas/admin/js/simpla.jquery.configuration.js"></script>
    <!-- Facebox jQuery Plugin -->
    <script type="text/javascript" src="/areas/admin/js/facebox.js"></script>
    <!-- jQuery WYSIWYG Plugin -->
    <script type="text/javascript" src="/areas/admin/js/jquery.wysiwyg.js"></script>
    <!-- jQuery Datepicker Plugin -->
    <script type="text/javascript" src="/areas/admin/js/jquery.datePicker.js"></script>
    <script type="text/javascript" src="/areas/admin/js/jquery.date.js"></script>
    <!--[if IE]><script type="text/javascript" src="resources//areas/admin/js/jquery.bgiframe.js"></script><![endif]-->
    <!-- Internet Explorer .png-fix -->
    <!--[if IE 6]>
			<script type="text/javascript" src="resources//areas/admin/js/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
    @RenderSection("JsHeader", required: false)
</head>
<body>
    <div id="body-wrapper">
        <!-- Wrapper for the radial gradient background -->
        <div id="sidebar">
            <div id="sidebar-wrapper">
                <!-- Sidebar with logo and menu -->
                <h1 id="sidebar-title">
                    <a href="javascript:void()">Simpla Admin</a></h1>
                <!-- Logo (221px wide) -->
                <a href="#">
                    <img id="logo" src="/areas/admin/images/logo.png" alt="Simpla Admin logo"></a>
                <!-- Sidebar Profile links -->
                <div id="profile-links">
                    <a href="/" target="_blank" title="View the Site">查看站点</a> | <a href="/admin/user/dologout" title="Sign Out">退出</a>
                </div>
                <ul id="main-nav">
                    <!-- Accordion Menu -->
                    <li><a href="/admin/user/dashboard" class="nav-top-item no-submenu @("dashboard".Equals(ViewBag.TopNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")">
                        <!-- Add the class "no-submenu" to menu items with no sub menu -->
                        控制面板 </a></li>
                    <li><a href="#" class="nav-top-item @("user".Equals(ViewBag.TopNavigation,StringComparison.OrdinalIgnoreCase)?"current":"")">
                        <!-- Add the class "current" to current menu item -->
                        用户中心 </a>
                        <ul>
                            <li><a class="@("useradd".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/user/edit?type=add">添加新用户</a></li>
                            <li><a class="@("userlist".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/user/list">用户管理</a></li>
                            <!-- Add class "current" to sub menu items also -->
                            <li><a class="@("editpasssword".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/user/editpasssword">修改密码</a></li>
                        </ul>
                    </li>
                    <li><a href="#" class="nav-top-item @("function".Equals(ViewBag.TopNavigation,StringComparison.OrdinalIgnoreCase)?"current":"")">上传下载</a>
                        <ul>
                            <li><a class="@("paintingimport".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/painting/import">上传油画资料</a></li>
                            <li><a class="@("paintingexport".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/painting/export">下载油画资料</a></li>
                            <li><a class="@("subscriberexport".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/account/exportsubscriber">下载订阅用户</a></li>
                        </ul>
                    </li>
                    <li><a href="#" class="nav-top-item @("painting".Equals(ViewBag.TopNavigation,StringComparison.OrdinalIgnoreCase)?"current":"")">油画管理 </a>
                        <ul>
                            <li><a class="@("paintinglist".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/painting/list">所有油画</a></li>
                            <li><a class="@("paintinghot".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/painting/hottest">热门油画</a></li>
                        </ul>
                    </li>
                    <li><a href="#" class="nav-top-item @("system".Equals(ViewBag.TopNavigation,StringComparison.OrdinalIgnoreCase)?"current":"")">系统功能</a>
                        <ul>
                            <li><a class="@("posterntoken".Equals(ViewBag.SecondNavigation, StringComparison.OrdinalIgnoreCase) ? "current" : "")" href="/admin/posterntoken/index">访问链接</a></li>
                        </ul>
                    </li>
                </ul>
                <!-- End #main-nav -->
            </div>
        </div>
        <!-- End #sidebar -->
        <div id="main-content">
        @RenderBody()
        </div>
    </div>
    <div id="facebox" style="display: none;">
        <div class="popup">
            <table>
                <tbody>
                    <tr>
                        <td class="tl">
                        </td>
                        <td class="b">
                        </td>
                        <td class="tr">
                        </td>
                    </tr>
                    <tr>
                        <td class="b">
                        </td>
                        <td class="body">
                            <div class="content">
                            </div>
                            <div class="footer">
                                <a href="#" class="close">
                                    <img src="/areas/admin/images/closelabel.gif" title="close" class="close_image">
                                </a>
                            </div>
                        </td>
                        <td class="b">
                        </td>
                    </tr>
                    <tr>
                        <td class="bl">
                        </td>
                        <td class="b">
                        </td>
                        <td class="br">
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</body>
</html>
